package com.ciaojian.core.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Time;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

/**
 * @author Atlakyn
 */
@Data
public class RosterDTO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("排班描述")
    private String desc;

    @ApiModelProperty("排班描述")
    private String showDesc;

    @ApiModelProperty("工作开始时间")
    private LocalTime startWorkTime;

    @ApiModelProperty("工作结束时间")
    private LocalTime endWorkTime;

    @ApiModelProperty("最早打卡时间")
    private Time earlyTime;

    @ApiModelProperty("班次中点时间")
    private Time middleTime;

    @ApiModelProperty("最晚打卡时间")
    private Time lastTime;

    @ApiModelProperty("所属门店")
    private String storeId;

    @ApiModelProperty("就餐类型 0:2次就餐 1:一次轻餐一次就餐")
    private Integer eatingType;

    @ApiModelProperty("第一次就餐开始时间")
    private Time lunchStartTime;

    @ApiModelProperty("第一次就餐结束时间")
    private Time lunchEndTime;

    @ApiModelProperty("第二次就餐开始时间")
    private Time dinnerStartTime;

    @ApiModelProperty("第二次就餐结束时间")
    private Time dinnerEndTime;

    @ApiModelProperty("轻餐时间")
    private Integer lightTime;

    @ApiModelProperty("正餐时间")
    private Integer mainTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;
}
